package com.medvalley.tcm.dao;

import com.medvalley.tcm.domain.Manager;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

/**
 * @author linsong
 * @date 2019/6/20 14:13
 **/

public interface ManagerDao extends CrudRepository<Manager, Integer>, JpaSpecificationExecutor<Manager> {

    Manager findOneByName(String name);
}
